<?php 
class Form_User extends Zend_Form
{
    public function init()
    {
        $this->setAction()->setMethod('post');
        $name = $this->createElement('text', 'name', array(
                                                    'label' => 'Full Name',
                                                    'size' => '30',
        ));
        $email = $this->createElement('text', 'email', array(
                                                    'label' => 'Email',
                                                    'size' => '30'
        ));
        $gender = $this->createElement('radio', 'gender', array(
                                                    'label' => 'Gender',
                                                    'multioptions' => array(
                                                                        '1' => 'Male',
                                                                        '2' => 'Female'
                                                    )
        ));
        $country = $this->createElement('select', 'country', array(
                                                              'label' => 'Country',
                                                              'multioptions' => array(
                                                                               '1' => 'VietNam',
                                                                               '2' => 'Cambodia',
                                                                               '3'
                                                              )
        ));
    }
}
 ?>